﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.DataInterfaces;
 

namespace ShivamEMR.Model
{
    public static class Registry
    {
         public static IDependencyLocator DependencyLocator;
         
        public static IContext Context
        {
            get
            {
                return DependencyLocator.LocateDependency<IContext>();
            }
        }
        
        public static IRepositoryFactory RepositoryFactory
        {
            get
            {
                 return DependencyLocator.LocateDependency<IRepositoryFactory>();                
            }
        }
    }
}
